<?php 
class Md_Bbs extends WdkModel
{
	public function __construct()
	{
		parent::__construct();
		$this->_init();
	}
	
	private function _init()
	{
		$this->table	= 'bbs';
		$this->order	= array("`bbs_seq` DESC");
	}
	
	/**
	 *	Select query for Classes..
	 *  @author	kinuz
	 *  @since	2011. 3. 25
	 */
	public function cLoad($bbs_seq)
	{
		return $this->getData("*", "`bbs_seq` = {$this->escape($bbs_seq)}");
	}
	
	/**
	 *	Select query for Classes..
	 *  @author	kinuz
	 *  @since	2011. 3. 25
	 */
	public function cLoadById($bbs_id)
	{
		return $this->getData("*", "`bbs_id` = '{$this->escape($bbs_id)}'");
	}
}